home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_11
/
8n11088b
< prev
next >
Wrap
Text File
|
1990-09-16
|
235b
|
16 lines
class It {
public:
It( List &l) { current = head;}
Truth isend() { return (current == 0); }
T get()
{
T r = current->value();
current = current->next();
return r;
}
private:
Node *current;
};